import instance from "../../global";
export function Modification(userid,userimg){
    return instance.post("user/user/modification",{userId:userid,userImgsrc:userimg});
}
export function Revamp(data){
    return instance({
        url:'user/user/revamp',
        method:'post',
        data:data
    });
}
export function UserGetUserNickname(userId,userNickname) {
    return instance.post("user/user/userGetUserNickname",{userId:userId,userNickname:userNickname});
}

/**
 * 查询用户信息
 * @param userId
 * @returns {AxiosPromise}
 * @constructor
 */
export function FindAll(userId){
    return instance.post("user/user/findAll",{userId:userId})
}




